package com.dyz.controller;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dyz.domain.SysUserLog;
import com.dyz.model.Result;
import com.dyz.service.ISysUserLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

import javax.annotation.Resource;

@RestController
@RequestMapping("/sysUserLog")
@Api(tags = "按条件分页系统日志列表列表")
public class SysUserLogController {
    @Resource
    private ISysUserLogService sysUserLogService;
    @GetMapping
    @ApiOperation(value = "按条件分页系统日志列表列表")
    public Result<?> getUserLogList(@ApiIgnore Page<SysUserLog> page) {
        return sysUserLogService.getUserLogList(page);
    }
}
